﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 预制品按照一定规则制成。
/// 预制品挂载碰撞器，子物体Animation挂载sprite render
/// </summary>
public class PrefabException : System.Exception
{
    

    public PrefabException(string message):base(message)
    {
       
    }

    public PrefabException(string type,string name,string missing) : base(type+" Exception : "
                    + name + " don't contain "+missing)
    {

    }
}
